import request from '@/utils/request'
export default{
    //2、根据id删除数据字典
    delById(id){
        return request({
            url:'/admin/core/dict/'+id,
            method:'DELETE'
        })
    },
    //1、根据pid查询数据字典
    getByPid(pid){
        return request({
            url:'/admin/core/dict/dictsByParentId/'+pid,
            method:'GET'
        })
    }


}